package cate.game.role.pvp.pointrace.msg;

import cate.game.client.msg.ClientMsg;
import cate.game.client.msg.MsgConfig;
import cate.game.client.msg.MsgOutput;
import cate.game.client.msg.id.MsgIdBPointRace;
import cate.game.role.pvp.pointrace.PointRace;
import easy.java.dev.note.NoteField;
import lombok.NoArgsConstructor;

@NoArgsConstructor
@ClientMsg(title = "我的积分赛数据 の 返回")
public class PointRaceDataResp implements MsgOutput {

    @NoteField("我的积分赛数据")
    public PointRace data;

    public PointRaceDataResp(PointRace data) {
        this.data = data;
    }

    @Override
    public MsgConfig conf() {
        return MsgIdBPointRace.DATA_RESP;
    }
}
